import React, {PureComponent} from 'react';
import NavigationFactory from '../../utils/navigationFactory';
import {StyleSheet, View, Text} from 'react-native';
import {inject, observer} from 'mobx-react';

@NavigationFactory
@inject('UserStore')
@observer
class ClassifyPage extends PureComponent {
  componentDidMount() {}

  componentWillUnmount() {}

  constructor(props) {
    super(props);
    this.state = {};
    this.userInfo = this.props.UserStore;
  }

  render() {
    return (
      <View style={styles.contain}>
        <Text>分类11</Text>
        <Text>{this.userInfo.userInfo.name}</Text>
      </View>
    );
  }
}
const styles = StyleSheet.create({
  contain: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
});
export default ClassifyPage;
